package com.quectel.core.module.alarm.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 租户单独设置的告警阈值
 *
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2021-10-19 14:09:08
 */
@Data
@TableName("alarm_rule_tenant_condition")
public class AlarmRuleTenantConditionEntity {

    /**
     * ID
     */
    @TableId
    private Long id;

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 所属告警规则
     */
    private Long ruleId;

    /**
     * 租户自定义规则数组
     */
    private String alarmRuleConditionJson;


}
